package com.youshang520i.model;

/**
 * @author youshang
 */
public class Account {
    int balance = 20;

//    public boolean withdraw(int amount) {
//        if (balance < amount) {
//            return false;
//        }
//        balance = balance - amount;
//        return true;
//    }


    public void withdraw() {

    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

}
